home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ Shortcut 1.xpl
< prev
next >
Wrap
Text File
|
1999-11-01
|
2KB
|
64 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Appearance\Explorer\Shortcuts"
"NAME"="Arrow"
"VERSION"="1.20"
"LANGUAGE"="VBScript"
"TEXT 1"="Display arrow on shortcuts"
"TEXT 2"="Display arrow on DOS-shortcuts (*.pif)"
"DESCRIPTION 1"="To display the white arrow in the left corner of a shortcut, activate the first option."
"DESCRIPTION 2"="To display the white arrow in the left corner of a shortcut to a DOS-program (*.pif), activate the second option."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com"
Sub Plugin_Initialize
s=RegReadValue("HKCR\Lnkfile\IsShortcut")
if IsEmpty(s)=false then
SetUIElement 1,true
end if
s=RegReadValue("HKCR\piffile\IsShortcut")
if IsEmpty(s)=false then
SetUIElement 2,true
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue("HKCR\Lnkfile\IsShortcut","",1)
else
s=RegReadValue("HKCR\Lnkfile\IsShortcut")
if IsEmpty(s)=false then
Call RegDeleteValue("HKCR\Lnkfile\IsShortcut")
end if
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue("HKCR\piffile\IsShortcut","",1)
else
s=RegReadValue("HKCR\piffile\IsShortcut")
if IsEmpty(s)=false then
Call RegDeleteValue("HKCR\piffile\IsShortcut")
end if
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub